package com.sanwu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.sanwu.dto.ManagerDto;
import com.sanwu.entity.Business;
import com.sanwu.vo.AjaxResult;

import java.util.List;

/**
 * @author hgh
 * @date 2025/3/11
 * @apiNote
 */
public interface ManagerService extends IService<Business> {

    /**
     * 查看所有的业务
     *
     * @param managerDto
     * @return
     */
    List<Business> queryAllBusiness(ManagerDto managerDto);

    /**
     * 查看业务详情
     *
     * @param managerDto
     * @return
     */
    AjaxResult businessDetail(ManagerDto managerDto);

    /**
     * 短信验证码登录
     *
     * @param phoneMessage
     * @return
     */
    AjaxResult phoneMessageLogin(String phoneMessage);

    /**
     * 发送短信验证码
     *
     * @return
     */
    AjaxResult sendCheckCode();
}
